﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Newtor.VoteMan
{
    public interface IVoteItemManager
    {
        VoteItem[] GetItemsByProjectId(Guid projectId);

        VoteItem[] GetItemsIncludeSubProjects(Guid projectId);

        VoteItem GetVoteItem(Guid viId);

        void CreateVoteItem(VoteItem vi);

        void UpdateVoteItem(VoteItem vi);
    }
}
